using System;
using System.Collections.Generic;
using System.Text;

namespace GraphFS
{
	public class FSSegment
	{
		private GeoPoint start;
		public GeoPoint Start
		{
			get { return start; }
		}

		private GeoPoint end;
		public GeoPoint End
		{
			get { return end; }
		}

		private GeoSize size;
		public GeoSize Size
		{
			get { return size; }
		}


		private FSGraph graph;
		private List<double> nodes = new List<double>();
		

		public FSSegment(FSGraph g, GeoPoint start, GeoPoint end)
		{
			this.graph = g;
			this.start = start;
			this.end = end;
			this.size = end - start;
		}

		public FSSegment(GeoPoint start, GeoSize size)
		{
			this.start = start;
			this.size = size;
			this.end.Lat = this.start.Lat+size.Width;
			this.end.Lon = this.start.Lon + size.Height;
		}


	
	}
}
